/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.orderbalance.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 订单返还余额明细Entity
 * @author w
 * @version 2020-11-19
 */
public class OrderBalance extends DataEntity<OrderBalance> {
	
	private static final long serialVersionUID = 1L;
	private String orderNo;		// 订单编号
	private Member member;		// 订单持有人id
	private Double money;		// 订单金额
	private Double backBalance;		// 返还余额
	private String balanceFlag;  //区分标识（2动态返还 3订单分裂 4冻结释放）
	private Double upBalance; //账户原余额

	private String fTime;//传前端用时间
	public OrderBalance() {
		super();
	}

	public OrderBalance(String id){
		super(id);
	}

	@ExcelField(title="订单编号", align=2, sort=1)
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@ExcelField(title="订单持有人id", fieldType=Member.class, value="member.loginName", align=2, sort=2)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="订单金额", align=2, sort=3)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@ExcelField(title="返还余额", align=2, sort=4)
	public Double getBackBalance() {
		return backBalance;
	}

	public void setBackBalance(Double backBalance) {
		this.backBalance = backBalance;
	}

	public String getBalanceFlag() {
		return balanceFlag;
	}

	public void setBalanceFlag(String balanceFlag) {
		this.balanceFlag = balanceFlag;
	}

	public Double getUpBalance() {
		return upBalance;
	}

	public void setUpBalance(Double upBalance) {
		this.upBalance = upBalance;
	}

	public String getfTime() {
		return fTime;
	}

	public void setfTime(String fTime) {
		this.fTime = fTime;
	}
}